import Vue from "vue";
import VueRouter from "vue-router";
import Aside from "../components/Aside.vue";
import Main from "../components/Main.vue";
 
 
Vue.use(VueRouter);
//配置导出路由
export default new VueRouter({
  // 路由路径
  mode: "history",
  routes: [
    {
      path: "/",
      name: "Aside",
      component: Aside
    },
    {
      path: "/1",
      name: "Main",
      component: Main
    }
  ]
});
